package com.hqyj.lyf.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Qiuluoer
 * @date 2022/5/28 11:43
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("subject")
public class Subject {
    @TableId(value = "sub_id",type = IdType.AUTO)
    private Integer subId;
    @TableField(value = "sub_name")
    private String subName;
}
